package wei.qiang.ye.springcomponentdemo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import wei.qiang.ye.springcomponentdemo.my.CherryFactoryBean;

@Configuration
public class WebConfig8 {

    @Bean
    public CherryFactoryBean cherryFactoryBean() {
        return new CherryFactoryBean();
    }
}